﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerDownType.aspx.cs" Inherits="sysadmin_DownManager_ManagerDownType" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理下载分类</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server" class="bodymain">
        <table width="100%" border="0"  cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left">
                    <asp:Label ID="lbl_InfoTitle_ManagerDownType" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
        <br />
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="btnbg">
            <tr>
                <th >
                    <asp:Label ID="lbl_ManagerDownType" runat="server" Text=""></asp:Label>
                </th>
                <td >
                    <asp:TextBox ID="txt_DownTypeName" runat="server"></asp:TextBox>&nbsp;&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="" CssClass="inputBotton2" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnAddNew" runat="server" Text="" CssClass="inputBotton2" OnClick="btnAddNew_Click" /></td>
            </tr>
        </table>
        <asp:Repeater ID="rptDownType" runat="server" OnItemCommand="rptDownType_ItemCommand" OnItemDataBound="rpt_ItemDataBound">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                    <tr>
                        <th>
                            <%=GetLanageValueByKey("lab_ManagerDownType_DownloadTypeName", PowerCreator.LMS.Language.LanagetItemType.Page) %></th>
                        <th>
                            <%=GetLanageValueByKey("btn_ManagerQuestion_Work", PowerCreator.LMS.Language.LanagetItemType.Page) %></th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("DownTypeName")%>
                    </td>
                    <td>
                        <asp:LinkButton ID="lnkbtn_editor" runat="server" CommandName="leditor" CommandArgument='<%#Eval("DownTypeID")%>'> <%=GetLanageValueByKey("btn_ManagerQuestion_Edit", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>
                        <asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("DownTypeID")%>'><%=GetLanageValueByKey("btn_ManagerQuestion_Delete", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>&nbsp;
                        <asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourceKey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
